﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="RelatorioSolicitacoesRequisitadas.aspx.cs" Inherits="Atendex.Web.RelatorioSolicitacoesRequisitadas" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<h3><asp:Label ID="lblTitulo" runat="server" 
        Text="Relatório - Solicitações Mais Requisitadas"></asp:Label></h3><br />
    <table>
        <tr>
            <td style="width:10px "></td>
            <td>
                <asp:Label ID="lblDataInicio" runat="server" Text="De:"></asp:Label>
            </td>
            <td style="width:10px "></td>
            <td>
                <asp:Label ID="lblDataFim" runat="server" Text="Até:"></asp:Label>
            </td>
        </tr>
        <tr>
            <td style="width:10px "></td>
            <td>
                <asp:Calendar ID="calDataInicio" runat="server"></asp:Calendar>
            </td>
            <td style="width:10px "></td>
            <td>
                <asp:Calendar ID="calDataFim" runat="server"></asp:Calendar>
            </td>
        </tr>
        <tr>
            <td style="width:10px "></td>
            <td></td>
            <td></td>
            <td align="right">
                <asp:Button ID="btnAtualizarGrafico" runat="server" Text="Atualizar" />
            </td>
        </tr>
        <tr>
            <td style="width:10px "></td>
            <td colspan="3">
                <asp:GridView ID="grvDados" runat="server" AutoGenerateColumns="False" 
                    CellPadding="4" ForeColor="#333333" GridLines="None">
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                    <Columns>
                        <asp:BoundField DataField="TipoSolicitacao" HeaderText="Tipo de Solicitação">
                            <ItemStyle Width="200px" />
                        </asp:BoundField>
                        <asp:BoundField DataField="Solicitacoes" HeaderText="Solicitações">
                            <ItemStyle Width="100px" />
                        </asp:BoundField>
                    </Columns>
                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#999999" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td style="width:10px "></td>
            <td colspan="3">
                <asp:Chart ID="crtGrafico" runat="server" Height="300px" Width="450px">
                    <legends>
					    <asp:Legend IsTextAutoFit="False" Name="Default" BackColor="Transparent" Font="Trebuchet MS, 8.25pt, style=Bold"></asp:Legend>
				    </legends>
                    <Series>
                    </Series>
                    <ChartAreas>
                        <asp:ChartArea Name="ChartArea1">
                            <area3dstyle Rotation="10" perspective="10" Inclination="15" IsRightAngleAxes="False" wallwidth="0" IsClustered="False"></area3dstyle>
                            <axisy linecolor="64, 64, 64, 64">
								<labelstyle font="Trebuchet MS, 8.25pt, style=Bold" />
								<majorgrid linecolor="64, 64, 64, 64" />
							</axisy>
							<axisx linecolor="64, 64, 64, 64">
								<labelstyle font="Trebuchet MS, 8.25pt, style=Bold" />
								<majorgrid linecolor="64, 64, 64, 64" />
							</axisx>
                        </asp:ChartArea>
                    </ChartAreas>
                </asp:Chart>
            </td>
        </tr>
    </table>

</asp:Content>
